LynxChan 1.9: JIT

LynxChan is a chan engine I started developing over two years ago, with the goal to be the best engine you would ever shitpost with.

It aims to offer great performance, customization and flexibility.

1.9 is about to enter beta and introduces a very important feature: JIT caching.

JIT caching is caching pages once they are requested, instead of caching when their content is changed.

This feature should allow for not only a significant reduced CPU usage but also for a more responsive experience for users.

Other from that, this version will also add a few features:
File search on media management
Maintenance images
Ability to restart the unix socket from a GUI
Subject editing
Board locking
Better global board moderation
SSL can be made mandatory
Mass bans directly from ips

I have a small instance running it over lynxhub.com and a list of chans running it can be found at lynxhub.com/lynxchan/res/285.html

Other urls found in this thread:

8ch.net/create.php
endchan.xyz/
news.ycombinator.com/item?id=4556125
klen.github.io/py-frameworks-bench/
techempower.com/benchmarks/
lynxhub.com/lynxchan/res/285.html
bunkerchan.xyz
endchan.xyz
freech.net
spacechan.xyz
32ch.org
mewch.net
ae-chan.org
ronery.me
8ch.net/tech/res/808347.html
8ch.net/8archive.json.
twitter.com/SFWRedditVideos

Very cool. I thought about making a forum for my game server (I have like 200 players, an mmo game...) A chan board and I'll definitely use this.

One of my annoyances with Lynxchan is that when I post or delete the page will load before the change is processed. Is that fixed by your JIT cache?
Also, isn't your JIT cache just a normal cache like they usually work, or is there a distinction I'm missing? I get that it's not like your previous unusual cache.


Consider just creating a board on an existing site, like this one (or Endchan if you want Lynxchan).
8ch.net/create.php
endchan.xyz/

Yes, that behavior should improve immensely.

I can't guarantee it will be completely gone because the flow of information to cause the cache to be invalidated still isn't bound to the response you get after posting.

But specially on busy sites, like endchan, the main thread will face a much smaller load and you should get an updated page much more often if not always.

Chans usually cache pages once the content change. kusaba and vichan work like that. infinity used to work like that until ron implemented his new caching system after next's dumpster fire.

However, you are correct that more modern general caching systems do work with a JIT cache, like varnish.

...

what is a layering violation?

it is called lazy evaluation you fucking nigger

Imagine getting mad at irrelevant details like these.

news.ycombinator.com/item?id=4556125

apparently a design mistake?...

imagine irrelevant details being your changelog headlines

SAVAGE
ABSOLUTELY BTFO
HUEHUE DOWN

Autism is one hell of a drug.

Meguca is a WAAYYY better engine and Lat is a competent coder.

If it wasn't a shit livememe site then you'd probably have an arguement.
Blazechan is better.

Given that most content changes immediately request the changed data, how does this improve performance?

1) User clicks reply button
2) HTTP Post
3) HTTP Get

How does moving the rebuild from step 2 to 3 improve performance when steps two and three occur sequentially for every post?

Catalog, previews and board pages.

Mind you, this also help immensely when a full site rebuild, since you just drop all caches.

wew lad

What's better for a single-board chan? This, or vichan? I only need webms and images.

Is LynxChan tested on OpenBSD? Because setting up vichan on obsd is a pain in the ass

This. Its easier to install, customize and maintain. Also is configurable to make it having a single board won't feel awkward.

No.

wasnt it proven that nextchan and blazechan is a lot faster than lynxchan?
kys your'eself

1: both are vaporware
2: no, nextchan pretty much died when it had to handle any load and blazechan is built on one of the slowest frameworks out there, django.

When request serving was compared, lynxchan could serve about 10 times what nextchan could.

Tell me about your game, why does it have a dedicated chan?

proofs?

Mind you, I said django is slow. I didn't say blazechan is slow because I didn't test it.

For proof django is slow, this is how it compares to other python frameworks:
klen.github.io/py-frameworks-bench/

And here how it east all the ass when compared to frameworks outside the python ecosystem.
techempower.com/benchmarks/

bump

FUCKING STATIST SCUM

So literally a buzzword for lazy builds?
Kill yourself Sergio. Keep your Vichan rewrite to yourself.

Etiquette for talking in a Lynxchan thread
1. Do not call Lynxchan or Blazechan "vaporware"
2. Stop being rude to Stephen or m712
3. "PHP/JS is bad" is not an argument
4. Have good sportsmanship (no KYS or GTFO)
Start a discord if you really want to pick a fight

GTFO then KYS

GTFO then KYS first.

Too late faggot, I already did.

I don't like JS and won't be using your softwares.

...

do me a favor and kill yourself

JS being trash isn't an argument, it's a fact.

HAHAHAHAHAHAHAHAHAA

You really should KYS, you don't understand chains enough for this m8.

meant chans

What do you think I am trying to imply?
Exactly what you said.


Dubs of fail

Bump.

is lynxchan finally ded?
did it join all the other failed imageboard software?

Nope, its going through the best beta it had for a while now due to a new site with quite some traffic using it and should release a new version in less than than a month.

I just stopped posting here because I had nothing more to say.

...

What happened with 666chan?

why is every lynxchan imageboard now using the awful grey/yellow css?

Isn't all that frontend stuff? Clearly they either used defaults or some shitty frontend got popular.

>list of chans running it can be found at lynxhub.com/lynxchan/res/285.html
>bunkerchan.xyz
>endchan.xyz User owned boards.
>freech.net
>spacechan.xyz User owned boards.
>32ch.org User owned boards.
>mewch.net
>ae-chan.org
>ronery.me

So the only people using your shit are the kind of people that constantly spam Holla Forums.

No idea.

Its the most developed front-end that most people prefer.

All kinds of people spam 8ch. It comes with the territory.

That doesn't make it okay

It doesn`t make it my fault either.

8ch.net/tech/res/808347.html

Daily reminder not to use (((LynxChan)))

Bunkerchan is a Holla Forums bunker. They don't raid Holla Forums.
Endchan is a board with user board creation. Just like Holla Forums. Not endchan or lynx's fault that some endchan boards may have raided Holla Forums.
Freech is dead.
32ch is dead.
Mewch is liberal in moderation. Same with endchan.
ae-chan is ED, for fucks sake.
ronery is a random russian website.

>>>/sudo/ >>>/polmeta/ if you want to complain about the altboard conspiracy. We're talking about software ITT.

hex is the spammer tbh

But why does it look so bad and amateurish?
I get the whole web 1.0 boner y'all have but come on

You are just looking at the placeholder FE.
Look at lynxtest.operatorchan.org or mewch.net

The front-end is modular and the one I use at lynxhub.com is just meant for development purposes.

GNO
I remember seeing one chan that had this, does anybody know it's name?

why do you morons always bring this up.
it's almost like you don't know how to benchmark anything.
the whole team behind this website is incompetent, but the fact that you're comparing nodejs serving shit out of memory to PHP templating shit on the fly (with no cache) speaks volumes to lynx dicksuckers competence.

and guess what, when lynxchan was actually benchmarked in a relevant context to infinity next (i.e. templating), the shitty PHP application beat it, and badly, considering that we're talking about request/response cycles over the wire versus a shitty nodejs application templating pages to memory.
I don't have the benchmarks handy because they're lost to time, odili or someone else did them without cripple/josh's captcha fuckup enabled. and even then, the whole point was to cache, the whole caching layer was not done.
you simply cannot compare the two. one rebuilds thread straight into memegoddb for serving (caching), the other did not have any caching at all.
and even then, lynx just seems content to make the same mistakes vichan did (beyond PHP)


you have no idea what you are talking about.

If by modular you mean custom CSS and maybe a few JavaScript functions, sure, because none of them ever change the templates.
And you still end up with these ridiculous "report forms" you made.

any sane schema will store two representations for it, the original markup and the rendered html. I'm sure a lot do that, even next did.

Such was?


No, it means that front-end development isn't attached to back-end development. Lately I have worked quite a lot on front-end on penumbra and coincidentally, adding pop up menus like 8ch has is next on my list. I should get that done before the end of the month.

Now, I'm not asking for lenience on the current status of the front-end because I know I couldn't be assed to work on it until now, my point is that because it isn't monolithic like pretty much any other engine, all it takes is someone getting off their ass and doing it and immediately sites can just deploy and use these features.

GridFS is not safe for concurrent access, for starters. The problem with vichan was not transferring furry porn between servers, Lynx.The problem was NFS shitting the bed at first, wherein they had to switch over to FreeBSD and get two FreeBSD experts (in-house and weev, iirc) to help tune the shit, and it continued staggering at this pitiful load. Then came the statistics problem, a PR that both codemonkey and hotwheels greenlit and tried to blame entirely on josh after they just had their little shitshow, which only added to the problem.
The problem was locking and hanging. And PHP. You specifically chose an abstraction (over dogshit, I might add) that is not safe for consumption in this manner and put a dumbfuck slow as queue in front of it which I imagine, beyond your dogshit JS templating library, is the reason that lynxchan simply cannot template pages as fast as an over-engineered PHP webapp.
And no, the worst case scenario is not "page shows up half templated." It is (was?) broken, like vichan was broken.

kek. just use amazon cloudfront

epin

Also, I don't have time to actually read undocumented Hasklel code (like pretty much everything in that ecosystem) but I imagine codemonkey just implemented a shitty version of redis and called it a day. That's really all it took at this load.
And to end, if Josh had not fucked up and been so gung-ho on his Plan A, along with letting a fucking captcha be generated on every new session OFF THE REQUEST CYCLE, you wouldn't have had the opportunity to be a humungous faggot in IRC and spam DoS hammer benchmarks at a PHP server with no caching and trick retards into thinking that you know what you're talking about. Web dev is dogshit, but it's not hard to understand these basic fucking concepts.
The fact that you continue not know how to even benchmark after how many years shows you're either disingenuous, or a fucking retard.

not an argument?????

I'm done.

cloudfront is a CDN, moron, like cloudflare where invalidation requires 10 minutes at a minimum, and you specify the caching behavior which doesn't really help when we're talking about content that's always changing because the caching behavior would be little to none on boards, no better than cloudflare in the context of this website. and as far as I'm aware no ESI. if you wanted to shitpost, you should've said akami.

nice ad hominem. not an argument though
you were talking about furry porn though

static content was not the problem, that's what lynz thought the problem was so he put it all in one big "schemaless" (more like dynamically types schema) pot, posts, images, media, and settings and let a filesystem abstraction over memegoddb deal with the problem because he's lazy.

>>>Holla Forums13657495
StephenLynx is attempting to scrape Holla Forums, put the result into his shit software and monetize the result. Thoughts?

cool

I think that's completely fine as long as you only scrape boards that are in 8ch.net/8archive.json.

The mewch staff is.
I have nothing to do with that.

:^)

I've scraped content from Lynxchan to put it back on Lynxchan back in July, for what it's worth

...

stynx

So you are Josh?

So you are retarded?

Just released 1.9.x.
Shoutouts for mewch.net for beta testing this version.
Along with 1.9, penumbralynx received several improvements too:
Posts menus with several moderation tools, such as deletion, spoiling, bans
Gallery mode
Favourite boards
Mass flag upload
Flag preview

I'm starting to get slightly worried. When are going to RIIR?