You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not for implementation right away (we'll need to wait for the corresponding changes to appraiser which will allow them to accept compressed data), but I've been talking with @maximusunc about this, and I believe this is the plan
Changes will be made to Appraiser to allow it to accept compressed (gzip) data or plain JSON
It will return responses in the same form as it received the request (i.e. If you send a JSON, you'll get a JSON. If you send gzip, you'll get gzip)
This should save us some "over the wire" time and increase performance. On our end, we will need to alter appraise() to compress the data it sends (or perhaps just don't UNcompress the Message/data before we send it over. I'll have to look). I would recommend that we uncompress the data we receive even if we could technically just save it as is to the database with slightly better performance. Saving it directly in zipped form, we wouldn't be able to see if there were any issues. Decompressing and compressing are cheap operations. Better safe than sorry.
The text was updated successfully, but these errors were encountered:
Not for implementation right away (we'll need to wait for the corresponding changes to appraiser which will allow them to accept compressed data), but I've been talking with @maximusunc about this, and I believe this is the plan
This should save us some "over the wire" time and increase performance. On our end, we will need to alter
appraise()
to compress the data it sends (or perhaps just don't UNcompress the Message/data before we send it over. I'll have to look). I would recommend that we uncompress the data we receive even if we could technically just save it as is to the database with slightly better performance. Saving it directly in zipped form, we wouldn't be able to see if there were any issues. Decompressing and compressing are cheap operations. Better safe than sorry.The text was updated successfully, but these errors were encountered: