Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby event store Browser - Sorting #1815

Open
casiodk opened this issue Sep 23, 2024 · 1 comment
Open

Ruby event store Browser - Sorting #1815

casiodk opened this issue Sep 23, 2024 · 1 comment

Comments

@casiodk
Copy link

casiodk commented Sep 23, 2024

Hi guys. Do you think it would be possible to also sort by milliseconds in the browser

Screenshot 2024-09-23 at 12 18 29

12:15:45.524 should come after 12:15:45.300 -> which is also the right causality

Thanks

@fidel
Copy link
Contributor

fidel commented Jan 18, 2025

Hello @casiodk,

could you provide us more details, e.g.

  • your client configuration (what repository you use, which database, versions of the parties involved will be helpful too)
  • database id's of those events (if it's not a problem)
  • is it a global stream displayed or a specific one

The more details, the better.

This issue is not the matter of sorting events in browser. They're ordered by their primary keys unless specifically asked (not possible in RES::Browser). I'm 99% sure they're ordered the same way in your event_store_events table, but I want to be 100% sure on that, so we can discuss this further.

Below you can find a sample events published with sleep(0.1) in between on Rails 8 app with PostgreSQL 15, RES 2.15.0 and default JSONClient configuration. As you might notice, the timestamps are diminishing as expected.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants