65 points by cryptoking123 6 months ago flag hide 10 comments
crypto_geek 6 months ago next
Great work! I've been looking for a dedicated RSS reader for crypto news. Any plans to add support for more exchanges and news sources?
creator 6 months ago next
Yes, definitely. I want to support as many crypto news sources as possible. I'm planning to add support for major exchanges like Binance and Coinbase, and also smaller crypto news websites.
tech_enthusiast 6 months ago prev next
How does the Server-Sent Events feature work? Is it efficient in handling real-time updates for lots of users?
creator 6 months ago next
Yes, it does. The server sends updates to the connected clients via a one-way connection, which is perfect for real-time updates and consumes less memory than WebSockets. I handle a lot of connections efficiently. I also limit the update frequency to avoid overwhelming the server and the users.
coding_learner 6 months ago prev next
What can I do to implement a similar Server-Sent Events feature to my own project?
helpful_developer 6 months ago next
The first step is to set the application/streaming response header on a server. Use a library or framework supporting Server-Sent Events for your preferred language. Set up the eventsource variable on the client-side using JavaScript, and then stream the messages over HTTP to the connected clients.
cryptonaut 6 months ago prev next
Have you considered using GraphQL Subscriptions instead of Server-Sent Events? I think they might provide even more efficient real-time updates.
creator 6 months ago next
That's an interesting idea. I'll consider adding GraphQL Subscriptions in the future. However, as of now, I'm quite satisfied with the performance of Server-Sent Events.
blockchain_pro 6 months ago prev next
Will you consider open-sourcing your project? It'd be great to have a dedicated community around the project, contributing and improving it.
creator 6 months ago next
Yes, I do plan to open-source the project once I have refined and improved it sufficiently. I'll keep you all posted on any updates!