Giter Club home page Giter Club logo

Comments (4)

dh377 avatar dh377 commented on August 25, 2024

특정한 프로세스로 버그 재현이 안 된다면, 단순히 gRPC Server-Client 통신이 안 좋은것인지도 모릅니다. 서버를 Remotely 운영하십니까?

from koapy.

thesoomyung avatar thesoomyung commented on August 25, 2024

서버는 remote 로 운영하지않고 local로만 운영합니다.
일단.. gRPC 응답없을때는 koapy를 다시 띄우는 것으로 우회해서 사용하려고 합니다.

from koapy.

dh377 avatar dh377 commented on August 25, 2024

비슷한 문제를 겪었습니다. Windows 10에서 python을 바로 호출하면 "Command Prompt" 쉘에서 프로그램이 동작하는데, 이때, 내부 문자열 인코딩이 '949 (EUC-KR)'로 처리되다가 오류가 발생하는 것으로 예상됩니다. "PowerShell 7 Core"를 따로 설치하여, 여기서 python을 호출하여 프로그램을 실행할 때는 문제가 발생하지 않았습니다.

from koapy.

dh377 avatar dh377 commented on August 25, 2024

비슷한 문제를 겪었습니다. Windows 10에서 python을 바로 호출하면 "Command Prompt" 쉘에서 프로그램이 동작하는데, 이때, 내부 문자열 인코딩이 '949 (EUC-KR)'로 처리되다가 오류가 발생하는 것으로 예상됩니다. "PowerShell 7 Core"를 따로 설치하여, 여기서 python을 호출하여 프로그램을 실행할 때는 문제가 발생하지 않았습니다.

이 문제는 좀 더 근원적으로 단순히 문자열 디코딩 문제가 아니라, gRPC 서버가 클라이언트에 전송하는 과정에서 시스템 불안정이 디코딩 할 수 없는 문자열(노이즈)을 생성하는 문제와 연관이 있습니다. 즉, 시스템 안정성과도 연관이 있는 문제로 보입니다. 시스템 냉각이 잘 안 되는 시스템에서 간헐적으로 가비지 문자열이 gRPC 스트림에 들어오는데, 그게 스트림을 멈추게하는 원인이 되었습니다.

from koapy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.