Giter VIP home page Giter VIP logo

Comments (13)

ssugiura avatar ssugiura commented on August 18, 2024

@Manojcv55 Could you add explanation to this issue raised? Especially I need to understand your use case. Moreover, please take a look at #90.

from dlt-daemon.

mvaradaraj avatar mvaradaraj commented on August 18, 2024

Hi @ssugiura
Currently we are using integrity OS. Where file operations are costlier. So we trying to find alternative IPC mechanism (shared memory) instead of creating pipe.
is there a way for using shared memory as IPC mechanism (sending payload and header)?

from dlt-daemon.

votrungchi avatar votrungchi commented on August 18, 2024

@mvaradaraj Currently, DLT does not support shared memory as IPC for sending payload and header (only for payload is supported). Refer to #90 for more information.
BTW, Will the UNIX_SOCKET as IPC improve in your use case? Could you please give it a try? compile with -DDLT_IPC=UNIX_SOCKET.

from dlt-daemon.

ssugiura avatar ssugiura commented on August 18, 2024

@Manojcv55 @mvaradaraj As reported by @votrungchi , currently we don't support shared memory as IPC and we don't have any plan to extend the feature.
Also, could you check if @votrungchi 's suggestion would work?

from dlt-daemon.

ssugiura avatar ssugiura commented on August 18, 2024

@Manojcv55 @mvaradaraj Any update from your side?

from dlt-daemon.

Manojcv55 avatar Manojcv55 commented on August 18, 2024

@ssugiura Yes @votrungchi suggestions worked , but when applications using dlt comes first and then dlt-daaemon comes there is missing of logs . Could you please suggest anything on this issue

from dlt-daemon.

ssugiura avatar ssugiura commented on August 18, 2024

@Manojcv55 Sorry for my late response. Could you give me the reproduction steps? Ideally, it should work, as library and daemon has their own internal buffer to store the logs when daemon/client is not available. If it reaches to the maximum size of each buffer, then it will rotate to overwrite old log messages.

from dlt-daemon.

Manojcv55 avatar Manojcv55 commented on August 18, 2024

@ssugiura how many sockets will create if i use socket dlt version ?

from dlt-daemon.

ssugiura avatar ssugiura commented on August 18, 2024

@Manojcv55 It will create one socket per DLT user.
With FIFO daemon will create two pipes for logging and controlling:
image
On the other hand there is only one socket for unix socket:
image

from dlt-daemon.

Manojcv55 avatar Manojcv55 commented on August 18, 2024

from dlt-daemon.

ssugiura avatar ssugiura commented on August 18, 2024

@ssugiura I've never seen that issue. Does dlt-daemon internal log tells you anything? Sharing us the log itself would be very helpful.

from dlt-daemon.

ssugiura avatar ssugiura commented on August 18, 2024

@Manojcv55 Any update on this? Having dlt-daemon internal logs will help us to proceed.

from dlt-daemon.

ssugiura avatar ssugiura commented on August 18, 2024

Closing the issue since there's no update for long time. @Manojcv55 @mvaradaraj Please reopen this issue if the issue is not solved and you need any help from us. As written in previous comment, dlt-daemon internal logs would help us to understand the behavior. Thank you!

from dlt-daemon.

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.