[Glass] rest api returning large result

James Foster Smalltalk at JGFoster.net
Mon May 20 07:27:04 PDT 2024


See below...

> On May 20, 2024, at 7:21 AM, Otto Behrens <otto at finworks.biz> wrote:
> 
> Thanks for your reply, James.
>  
>> May I recommend https://github.com/jgfoster/WebGS ? With this I was able to read a 64 MB extent from the file system, send it over an HTTP connection, and write it to the file system in 0.164 seconds total.
> 
> Does WebGS come with its own HTTP(s) server? And are you reverse proxying with another server in front?

Yes, it has an HTTP(S) server built-in and can be proxied if you wish.

>  If the data were already in GemStone I’m sure it would take much less time. Let me know if you have questions!
> 
> I bet the WebGS framework is more optimal than Seaside; do you have a Rest API framework as well?

Yes, that is its primary function; see the sample page and code.

James

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20240520/a949e7e7/attachment-0001.htm>


More information about the Glass mailing list