Look into allowing SYNC command in the initial connection #35

Closed
opened 2018-08-28 00:37:24 +00:00 by jamie · 4 comments
jamie commented 2018-08-28 00:37:24 +00:00 (Migrated from git.hazaar.io)

Now that we've enabled Warlock as a KV storage database, speed is an issue. While the KV lookups are insanely fast because you know, it's in-memory and stuff.

The slow part is the initial connection. I will need to profile it, but I have a feeling it is related to the WebSocket negotiation and then having to issue the SYNC command. If I can remove the requirement for the SYNC command and add the auth/admin key stuff to the initial WebSocket request I should be able to shave quite a few milliseconds off the setup time.

Now that we've enabled Warlock as a KV storage database, speed is an issue. While the KV lookups are insanely fast because you know, it's in-memory and stuff. The slow part is the initial connection. I will need to profile it, but I have a feeling it is related to the WebSocket negotiation and then having to issue the SYNC command. If I can remove the requirement for the SYNC command and add the auth/admin key stuff to the initial WebSocket request I should be able to shave quite a few milliseconds off the setup time.
jamie commented 2018-08-28 21:55:19 +00:00 (Migrated from git.hazaar.io)
created branch [`35-look-into-allowing-sync-command-in-the-initial-connection`](https://git.hazaarlabs.com/hazaar/hazaar-warlock/compare/master...35-look-into-allowing-sync-command-in-the-initial-connection)
jamie commented 2018-08-28 21:55:20 +00:00 (Migrated from git.hazaar.io)

mentioned in merge request !14

mentioned in merge request !14
jamie commented 2018-08-28 21:56:42 +00:00 (Migrated from git.hazaar.io)

closed via commit 17e3210164

closed via commit 17e3210164dd8d185be8fb4ec68af52215ab8da6
jamie commented 2018-08-28 21:56:42 +00:00 (Migrated from git.hazaar.io)

closed via merge request !14

closed via merge request !14
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/hazaar-warlock#35
No description provided.