Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - protozen

#16
newLISP newS / Re: newLISP v.10.6.4 development
September 25, 2015, 09:20:34 PM
with 10.6.3 and 10.6.4 on windows newlisp crashes when trying to make ffi calls - I've not tested various libraries but curl.lsp definitely crashes.
#17
newLISP in the real world / Re: CGI and State
July 13, 2015, 01:01:39 PM
The concept of an application server for newlisp is really appealing, for small web applications that can be embedded into a single executable or package. I've looked at existing frameworks to see if any of them fit, but Artfulcode web handling modules are the closest I found. Since I don't need a full blown server to handle a small number of requests, I think this should work out fine. I've looked at fcgi and other interfaces to scale up and found some old attempts, but it's really not the direction I'm looking in. Newlisp is wonderfully handy and having a small web server / framework natively would be nice. I may consider working on such a beast or porting something like WEBrick from ruby, if it becomes necessary. I'm only looking at this out of interest on my own personal proof of concept programs.



Thanks guys
#18
newLISP in the real world / Re: CGI and State
July 12, 2015, 09:46:02 PM
Thanks that is what I figured. I think I'll end up with a session server of some sort.
#19
newLISP in the real world / CGI and State
July 09, 2015, 06:11:25 PM
What is the best way to manage state when using CGI for web apps. Say I want to store program and session data, not using cookies - but the concept of session data from other web frameworks. I need to maintain persistent data in memory between requests.



Creating a newlisp server using newlisp -c , is suppose to create a stateful server right?



"After each transaction, when a connection closes, newLISP will go through a reset process, reinitialize stack and signals and go to the MAIN context. Only the contents of program and variable symbols will be preserved."



But during CGI processing and the connection is closed the reset happens. Which approach should I be looking into to solve my problem? Thanks a bunch.
#20
Thanks, I have an interest in this, and it helps.
Quote from: "kanen"
Quote from: "Lutz"Here is some old code of mine, I just discovered: http://www.newlisp.org/code/nfq.tgz">http://www.newlisp.org/code/nfq.tgz

The included nfq-test.c came from the net and helped to write nfq.lsp.


I remember this code!  I sent an example over when we were porting to OpenWRT and Linux and trying to troubleshoot speed issues.



NFQ has many of the problems already described and it has a massive amount of trouble keeping up with any volume of packets.  I'd strongly suggest considering some of the newer options, such as NFTABLES or similar. NF_QUEUE is broken and slow and has limited features for doing what you want.



https://home.regit.org/2014/01/why-you-will-love-nftables/">https://home.regit.org/2014/01/why-you- ... -nftables/">https://home.regit.org/2014/01/why-you-will-love-nftables/
#21
Hey this is interesting, I never heard of it before.


Quote from: "hilti"
Quote from: "mcc" is *very* nice since anything else Lisplike failed

on my Arietta


Look's like an impressive small hardware. How's the performance?



Cheers

Marc
#22
newLISP in the real world / Scaleway with newLisp
April 12, 2015, 10:19:37 PM
Hi All,



I started up an account with Scaleway - because I really like what they're doing. This really shouldn't be news but a simple ./configure-alt, make, make check builds just fine on their ARM infrastructure. newLisp is up and running on a new bare metal cloud =)



Cheers,



Travis
#23
Pretty cool to see this.
#24
I think I misunderstood in how net-eval can be used, as in the map reduce examples. It's not what I had in mind, but I think I get can what I wanted using this.
#25
Cool, nice that we'll be able to set the cell memory, but the having access to the stack size would open up others options for dynamic constraints.
#26
Thanks Lutz. I was asking because I was hoping I could source link -x into a simple single executable .
#27
Are there any plans to offer an api to access the development server, with an api from newLisp instead of the command line? I'm looking at creating a few small packaged servers that I would like to have configured and executed from newLips. Having some soft of API for the built in HTTP processor would be nice. Has anyone done this before?
#28
newLISP in the real world / Re: Recent Performance
February 18, 2015, 11:46:27 AM
I haven't had much of a chance to run some generic numbers myself. However, I did run a few cgi benchmarks in a vm with a couple hundred request per second on the form.cgi script in the examples directory, simulated 30-50-100 users counts for 10,000 requests using the built in dev http server with cgi processing. Since I'm looking at creating small scale custom servers, this seems adequate enough.
#29
newLISP in the real world / Recent Performance
February 12, 2015, 09:52:57 AM
Hi All,



I'm looking for more recent macro performance numbers like these:



http://www.newlisp.org/benchmarks/">http://www.newlisp.org/benchmarks/



Or the old computer language shootout numbers. Does anyone happen to know or have a recent set? I know of the QA tests that I can run. I'm curious about the feasibility of using newLisp in areas where I would have once needed to use Java or a lower level language. I'm looking primarily at data processing and client / server / peer to peer networking. I've never personally tested newLisp network and io buffers etc... in creating custom persistence layers and messaging systems. Any pointers or discussion of experience for recent newLisp builds circa 2012+ are greatly appreciated.
#30
newLISP newS / Re: newLISP stable release 10.6.2
January 21, 2015, 03:01:52 PM
Thanks a lot for the update Lutz, can I send you a development donation as a thank you?