Re: Fabric worker timeouts and availability of replicas

2015-10-12 Thread ermouth
Shouldn‘t it be a header if single doc requested, and smth like {ok:true, rows:[row1, row2 ... rowN], sloppy_quorum:[id1, id2 ... idN]} for _all_docs request? ermouth

Re: Fabric worker timeouts and availability of replicas

2015-10-13 Thread ermouth
icular request. ermouth 2015-10-13 12:23 GMT+03:00 Robert Samuel Newson : > That would break too much. > > One way out of this is to exclude this information by default and add it > only when requested with a request parameter With that, we can add metadata > wherever seems most natu

Re: [PROPOSAL] Allow rewrites to be JS function

2015-10-16 Thread ermouth
Closing proposal off. If someone wants to carry it on, current state is: https://github.com/ermouth/couchdb-chttpd/commit/8e50451aec2b07f95b9115dddc9b33b512651026 https://github.com/ermouth/couchdb-couch/commit/54b4324eeefe27431f5b42a89226b1ea63e17eb6 https://github.com/ermouth/couchdb/commit

Re: [ANNOUNCE] Apache CouchDB 2.3.0 released

2018-12-06 Thread ermouth
Congrats. Very promising release. ermouth

Re: [PROPOSAL] Disable auto-renew of _session cookies

2018-12-21 Thread ermouth
> so I can go to lunch and finish editing my design doc without losing anything. Consider using Photon https://github.com/ermouth/couch-photon ermouth

Re: [DISCUSS] Rebase CouchDB on top of FoundationDB

2019-01-23 Thread ermouth
Hi, Robert > as something we don’t know how to carry over yet Is there any workaround for FDB limitations for key size (10kb) and value size (100kb)? ermouth

Re: [DISCUSS] : things we need to solve/decide : storing JSON documents

2019-01-30 Thread ermouth
> As I don't see the 10k limitation as having significant merit Not sure it’s relevant here, but Mango indexes put selected doc values into keys. ermouth

Re: Design doc index switching

2019-05-16 Thread ermouth
Looks great, but how that shadow ddoc would replicate? What happens when tgt node received shadow ddoc, rebuilt shadow index, and then updates original ddoc? ermouth пт, 17 мая 2019 г. в 00:03, Robert Samuel Newson : > I suggest an alternative; the new design document could include the _id

Re: CouchDB and future

2019-07-08 Thread ermouth
uch ability to receive QS functions updates using regular replication is invaluable for long-running distributed IoT projects. As for Pouch – it’s a wonderful solution for browsers, however it can be easily knocked out when acts as a server. Best regards, ermouth

Re: CouchDB and future

2019-07-08 Thread ermouth
ity after crash. Also 2.x tends to eat disk space slowly (spams in _local docs, sometimes creating strange things like this http://ermouth.com/dl/couch_local_doc_dupes.png). Best regards, ermouth

Re: CouchDB and future

2019-07-09 Thread ermouth
tently drops even non-QS requests of this rate, with no visible pattern. ermouth

Re: CouchDB and future

2019-07-09 Thread ermouth
om my answer. ermouth

Re: CouchDB and future

2019-07-09 Thread ermouth
is productive, they are wrong. Best regards, ermouth вт, 9 июл. 2019 г. в 16:16, Jan Lehnardt : > > > > On 9. Jul 2019, at 15:14, ermouth wrote: > > > >> The Setup Wizard feature exists already and this would require the > >> addition of one text field,

Re: CouchDB and future

2019-07-10 Thread ermouth
least from above POV q=8 for a single node is definitely suboptimal for most installations. ermouth

Re: CouchDB and future

2019-07-11 Thread ermouth
> OK, but that doesn't mean q=1 is 100% right, either. Absolutely, and I never said anything like this, please read the thread. > to help with the documentation step Probably. Please give me a hint what you need. ermouth

Re: [DISCUSS] A direction from a non-contributor

2019-07-13 Thread ermouth
For a given nw the choice between MQTT vs WS vs HTTP/2 vs HTTP vs HTTPS seem to depend mostly on the size of a packet transmitted and guarantees required. ermouth

Re: Erlang_Queries

2019-07-30 Thread ermouth
Consider trying Photon (https://github.com/ermouth/couch-photon) for playing with Erlang views. It will look like this http://ermouth.com/dl/erlang_view.jpg Your view – even with line breaks – works pretty fine when correctly serialized into .views.*.map string. ermouth вт, 30 июл. 2019 г. в

Photon 1.9

2019-09-05 Thread ermouth
Happy to announce Photon 1.9, new version of alternative CouchDB admin panel. Today Photon celebrates 2 years of development, and just received several unique features: massive DB backup, _stats graphs, and structured revisions diff. https://github.com/ermouth/couch-photon Please enjoy ) I’m

CouchDB data processing endpoints

2019-09-06 Thread ermouth
extensions’, maybe introducing less expensive requestObj, etc. Clarifying language:"erlang" usage might also be valuable. Anyway, creative work, not destructive. ermouth

Re: CouchDB data processing endpoints

2019-09-08 Thread ermouth
ow in which particular cases – because I’ve tested. But did you? Secondly, as I pointed out several times, slight performance differences are not always important, for large meshes deployment is much more vital thing. As from deployment pov there is no reasonably lightweight substitute. Best regar

Re: CouchDB and future

2019-10-04 Thread ermouth
least halves write perf for most commodity/lean platforms and hw cfg. ermouth чт, 11 июл. 2019 г. в 18:17, Joan Touzet : > On 2019-07-11 8:05, ermouth wrote: > >> to help with the documentation step > > > > Probably. Please give me a hint what you need. > > What

Re: [DISCUSS] Node types in CouchDB 4.x

2019-11-19 Thread ermouth
Isn’t it an approach used by Couchbase? https://docs.couchbase.com/server/current/clustersetup/services-mds.html ermouth вт, 19 нояб. 2019 г. в 20:11, Nick Vatamaniuc : > Hi everyone, > > I'd like to discuss the ability to have heterogeneous nodes types in > CouchDB 4. >

Re: [DISCUSS] Node types in CouchDB 4.x

2019-11-20 Thread ermouth
etching index, complex sub-querying, filtering, grouping, etc. Something like view + _list call in CouchDB, often CPU-bound, so sharding is more about load balancing than data partitioning. ermouth вт, 19 нояб. 2019 г. в 22:53, Nick Vatamaniuc : > > Isn’t it an approach used by Couchbase? >

Re: FDB: Map index key/value limits

2020-01-17 Thread ermouth
simple conditionals into existing code ie). However for Mango index there would be no obvious way to detect omissions, which greatly undervalues Mango index idea in general. ermouth

Partitions list

2020-05-24 Thread ermouth
Hi devs, is there a way to get the list of DB partitions, except dedicated map/reduce? Trying to add partitioned queries UI into Photon and bit stuck how to implement it. ermouth

Re: Partitions list

2020-05-24 Thread ermouth
reduce is likely cheaper in that case. Which means I might just read _id-s for DBs having say < 10k docs, without writing a ddoc with map/reduce view and waiting it to warm up. Or I can allow user to choose what to do. ermouth пн, 25 мая 2020 г. в 01:58, Paul Davis : > Currently no, and comp sc

Re: Partitions list

2020-05-25 Thread ermouth
This is great, thanks! ermouth > 25 мая 2020 г., в 10:25, Glynn Bird написал(а): > > If you need a relatively small list of partition keys, (let's say you want > to allow a user to paginate through the partition keys in blocks of 10, > say) then it's probably mo

Newsfeed IFRAME in Fauxton and IP collection

2020-06-24 Thread ermouth
security projects, and I doubt anyone wants to expose node IPs to _whatever_ logs, esp wordpress.com. So I’d like to ask devs and users: does anyone think adding news to the admin panel worth creating such a security hole? ermouth

Re: Newsfeed IFRAME in Fauxton and IP collection

2020-06-24 Thread ermouth
to Documentation section. Btw making that section look like a grid of tiles with appropriate icons might greatly increase both its attractiveness and UX quality. ermouth

Re: Preparing 3.1.1 release

2020-08-26 Thread ermouth
Is that very unsafe PR https://github.com/apache/couchdb-fauxton/pull/1284 going to be included into 3.1.1? If it will, who exactly controls the wordpress site with those “news”? ermouth вт, 25 авг. 2020 г. в 23:45, Joan Touzet : > Hello there, > > I have time to get together a 3.1.

Re: Preparing 3.1.1 release

2020-08-26 Thread ermouth
cted, and I know that you know about it. ermouth чт, 27 авг. 2020 г. в 00:55, Joan Touzet : > At the moment, I have no plan to update Fauxton for 3.1.1. > > The blog is controlled by the CouchDB PMC. No one outside of the PMC or > who they authorize has access to it. > > If you d

Re: How to act on this mailing list [was: Re: Preparing 3.1.1 release]

2020-08-27 Thread ermouth
tton/iframe should be removed in favor of direct link to newsfeed at the bottom of left panel. ermouth чт, 27 авг. 2020 г. в 22:12, Joan Touzet : > This email stuck with me overnight, and I want to address why. ermouth, > your attitude in this email was poor, and I'd like to give yo

Re: Important update on couchdb's foundationdb work

2022-03-12 Thread ermouth
of special security mode. Anyway, we didn’t proceed with the concept, so I'm just leaving it here. ermouth

Erlang cookie vulnerability

2022-04-18 Thread ermouth
protecting Erlang cookie if a user has 4369 open. Shouldn’t that recommendation be emitted into the CouchDB installer? ermouth

Re: Erlang cookie vulnerability

2022-04-18 Thread ermouth
post wasn’t about vulnerability. It was about ‘Shouldn’t that recommendation be emitted into the CouchDB installer?’. ermouth пн, 18 апр. 2022 г. в 15:11, Jan Lehnardt : > Hi all, > > please follow the official and well documented guidelines for submitting > security related i

Joins with views, by keys

2023-03-08 Thread ermouth
other_rows] property. Or even make it recursive N level deep with expand_rows=N, with N=1 for true. Any thoughts? ermouth

Sharding, compaction and disk space

2024-07-28 Thread ermouth
Hi! Does sharding affect minimal required disk space during DB compaction operation? I mean if one has 1Gb in 1 shard it would likely require ~1Gb free disk space to perform compaction. If a DB had 2 shards ~500Mb each, would it reduce minimal required free disk space to ~500Mb? Thanks, ermouth

Re: Sharding, compaction and disk space

2024-07-28 Thread ermouth
Thanks for the prompt response! To clarify further: does [smoosh.%db_related_channel%] concurrency=2 mean one still might need 1Gb even with 2 shards? ermouth On Sun, Jul 28, 2024 at 11:11 PM Nick Vatamaniuc wrote: > Hi ermouth, > > Yeah that should reduce the maximum disk space n

Re: Sharding, compaction and disk space

2024-07-28 Thread ermouth
Thanks Nick, the guide is awesome! ermouth On Sun, Jul 28, 2024 at 11:48 PM Nick Vatamaniuc wrote: > That's true, good point, ermouth. Yeah, set the concurrency to 1, and also > to ensure it won't be picked up by other channels (slack vs ratio), so > maybe set the concurr

Re: Project Fauxton Feedback

2015-08-18 Thread ermouth
+1 ermouth 2015-08-18 21:03 GMT+03:00 Eli Stevens (Gmail) : > On Tue, Aug 18, 2015 at 1:11 AM, James Dingwall > wrote: > > I get the impression that more whizzy effects (fade in/out, sliding divs > > etc) have been added which don't play nicely with remote sessions with

Re: [PROPOSAL] Create des...@couchdb.apache.org mailing list

2015-09-13 Thread ermouth
not although. ermouth 2015-09-12 22:08 GMT+03:00 Robert Kowalski : > > While idea is good and clear, I don't believe that we can attract > > enough people to have this ML alive. Suddenly, our active part of > > community is quite small and here question lays in dimensio

Re: “Yes, and…”, not “But…” (Was: [PROPOSAL] Create des...@couchdb.apache.org mailing list)

2015-09-14 Thread ermouth
, then posts, starting with ‘but‘. Also I see this policy just leave important questions undiscussed – nobody dare to say ‘but’. ermouth 2015-09-14 13:52 GMT+03:00 Jan Lehnardt : > > > On 14 Sep 2015, at 12:08, Alexander Shorin wrote: > > > > Hi Jan > > > > On M

Re: “Yes, and…”, not “But…” (Was: [PROPOSAL] Create des...@couchdb.apache.org mailing list)

2015-09-14 Thread ermouth
rarian position in general. How can we avoid that? Without phrases ‘You don‘t like it? Farewell’, surely. ermouth 2015-09-14 15:26 GMT+03:00 Jan Lehnardt : > Of course, this could have gone this way: > > “That’s an interesting approach, is there more literature on how and why > this i

Re: “Yes, and…”, not “But…” (Was: [PROPOSAL] Create des...@couchdb.apache.org mailing list)

2015-09-14 Thread ermouth
solutely. +1000. ermouth 2015-09-14 15:49 GMT+03:00 Jan Lehnardt : > > > On 14 Sep 2015, at 14:42, ermouth wrote: > > > >> I’m suggesting a way how we can adopt a proven way > >> If that makes you want to unsubscribe, farewell. > > > > That is exactly

Re: “Yes, and…”, not “But…” (Was: [PROPOSAL] Create des...@couchdb.apache.org mailing list)

2015-09-14 Thread ermouth
but can not say, when we‘ll fix it’. What‘s the value of in-situ support, if customer have to banter on CSRF logo at twitter for having bugs really fixed? ermouth 2015-09-14 17:46 GMT+03:00 Michelle Phung : > Hello! > > I woke up today, with the first thing on my todo list: submit a ticket

Re: “Yes, and…”, not “But…” (Was: [PROPOSAL] Create des...@couchdb.apache.org mailing list)

2015-09-14 Thread ermouth
hDB has a lot of readers, and asking them does anyone use oauth, is more elegant way to decide should feature be dropped. ermouth 2015-09-14 17:38 GMT+03:00 Jason Smith : > Have you ever played "Dungeons and Dragons"? > > I think the "yes-and" style is more about conti

Re: “Yes, and…”, not “But…” (Was: [PROPOSAL] Create des...@couchdb.apache.org mailing list)

2015-09-14 Thread ermouth
oughly just today, after Jason put it as an example. ermouth 2015-09-14 19:58 GMT+03:00 Jan Lehnardt : > > > On 14 Sep 2015, at 18:49, ermouth wrote: > > > >> Have you ever played "Dungeons and Dragons"? > > > > Sorry, I played Civilization. What I l

Re: “Yes, and…”, not “But…” (Was: [PROPOSAL] Create des...@couchdb.apache.org mailing list)

2015-09-14 Thread ermouth
gar floods only good when you make jam. It‘s tasty, surely, but it can‘t grow, because sugar is conservant. BR ermouth 2015-09-14 20:35 GMT+03:00 Robert Kowalski : > Oh wow, so much feedback! > > I think Jason and Jan (and also me with my initial post) are trying to > advocate a more

Re: [PROPOSAL] Create an account for designers to contribute to CouchDB

2015-09-14 Thread ermouth
ven enforce comments to start with ‘Yes, and ’ – bit crazy idea, but it could be interesting social experiment ) > I am meaning the View part of the MVC CouchDB is extremely effective for MVVM architectures as well. Above example and ddoc.me/lab are both MVVM. ermouth 2015-09-14 21:34 GMT+03:00 Mi

Re: “Yes, and…”, not “But…” (Was: [PROPOSAL] Create des...@couchdb.apache.org mailing list)

2015-09-14 Thread ermouth
topic, and accidentally assume all other also have? Why not to ask? Please, just take it bit easier. Things like tldr are not very encouraging, but they do not worth any serious reaction ) ermouth

Re: “Yes, and…”, not “But…” (Was: [PROPOSAL] Create des...@couchdb.apache.org mailing list)

2015-09-14 Thread ermouth
tart with Yes, and’ – and so on. It can be really funny, and I clearly see UI for it. ermouth 2015-09-15 2:49 GMT+03:00 Jason Smith : > On Mon, Sep 14, 2015 at 11:49 PM, ermouth wrote: > > > > Have you ever played "Dungeons and Dragons"? > > > > Sorry, I p

Re: [PROPOSAL] Create an account for designers to contribute to CouchDB

2015-09-14 Thread ermouth
r less polished resource. But do not think someone interested ) ermouth 2015-09-14 23:09 GMT+03:00 Alexander Shorin : > Use CouchDB-based service to work on CouchDBThat's not much crazy, > but win-win idea and ideal case (; > In the end, designers would be able to shape this servi

Re: Intent to ship: _bulk_get in PouchDB 5.0.0 and PouchDB Server 1.0.0

2015-09-15 Thread ermouth
not sure I did all the things right. ermouth 2015-09-15 17:09 GMT+03:00 Nolan Lawson : > Hi friends, > > I've been working for some time with folks from CouchDB/Cloudant to get an > implementation of _bulk_get into CouchDB. The goal of the new endpoint is > to vastly s

Re: [PROPOSAL] Create an account for designers to contribute to CouchDB

2015-09-16 Thread ermouth
-alpha state Inliner. ermouth 2015-09-16 13:10 GMT+03:00 Andy Wenk : > I throw in another idea and do suggest to use Confluence at: > > https://cwiki.apache.org/confluence/display/COUCHDB/Apache+CouchDB+Wiki > > * we have that already set up > * it is run and supported by the ASF (

[PROPOSAL] Allow rewrites to be JS function

2015-09-27 Thread ermouth
becomes more and more popular. I‘m half way to PR, so question is: should it be merged if I do it? What do you think? ermouth

Re: [PROPOSAL] Allow rewrites to be JS function

2015-09-28 Thread ermouth
nalties. It‘s inevitable price. > every request needs to be forwarded to a JavaScript Not necesserily. We have rewrite chains, so first hop may be served by classic rewrites list. > regular expression rewrites It gives not much more, then current implementation. I‘d say, it gives even less. ermouth

Re: [PROPOSAL] Allow rewrites to be JS function

2015-09-28 Thread ermouth
solved, by cluster nature. So why not to extend – dramatically – CouchDB playground? Shared DBs out of the box is badly desired option, as I see. And it‘s a very cheap way to make ALL couchappers happy for a long time ) BR ermouth

Re: [PROPOSAL] Allow rewrites to be JS function

2015-09-29 Thread ermouth
Lua to tune up flight sim, took ~15 minutes to learn. ermouth 2015-09-29 21:23 GMT+03:00 Robert Newson : > Performance is likely to be very poor but I'm not blocking it. > > I do suggest we look at Lua though. There's a native Erlang lua > interpreter written by Robert Virding

Re: Fabric worker timeouts and availability of replicas

2015-10-07 Thread ermouth
If X is a number of entries in DefunctWorkers, shouldn‘t it return error in case of R + W - X <= N ? ermouth 2015-10-07 23:35 GMT+03:00 Robert Newson : > Yes, I think it should. We should return the best answer we can. > > > On 7 Oct 2015, at 13:48, Robert Kowalski wr

Re: [PROPOSAL] Allow rewrites to be JS function

2015-10-08 Thread ermouth
, ermouth PS. Code was reviewed by @kxepal (Alexander, thank you for it!), and received several not yet fixed non-critical remarks. I‘m working on cleaning em up. Please note: this preview is NOT intended for production and does not support Erlang rewrite fns, only JS.

Re: [PROPOSAL] Allow rewrites to be JS function

2015-10-08 Thread ermouth
Correction: .rewrites section, not .rewrite ermouth

Re: [PROPOSAL] Allow rewrites to be JS function

2015-10-08 Thread ermouth
Addition: AMI is available only for EU(Ireland) AWS zone. Please, select it before choosing AMI. ermouth 2015-10-08 21:59 GMT+03:00 ermouth : > Dear couchappers! > > My collegues created Amazon EC2 AMI image with Ubuntu 14.04 and CouchDB > 2.0.4ca9e41 + JS-rewrite patches applied

Re: [PROPOSAL] Allow rewrites to be JS function

2015-10-08 Thread ermouth
> Will we see PR for this?(: Sure, but it will take time, since I need to learn Ruby to write some tests ) Also I‘m going to collect some both internal and external feedback on current implementation first. Need it to understand clearly, that concept fits expectations. ermouth

[jira] [Commented] (COUCHDB-2027) CORS should not require authentication on preflight OPTIONS request

2014-03-10 Thread j ermouth (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13929827#comment-13929827 ] j ermouth commented on COUCHDB-2027: To reproduce in console: var xhr =

[jira] [Commented] (COUCHDB-2027) CORS should not require authentication on preflight OPTIONS request

2014-04-05 Thread j ermouth (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13961041#comment-13961041 ] j ermouth commented on COUCHDB-2027: 2 Sashs Simkin. Add {{require_valid_

[jira] [Commented] (COUCHDB-2537) Propose removal of ?local_seq=true from the GET /db/doc API for CouchDB 2.0

2015-02-03 Thread j ermouth (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-2537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303631#comment-14303631 ] j ermouth commented on COUCHDB-2537: But it still changes on doc save, and it’s

[jira] [Commented] (COUCHDB-2537) Propose removal of ?local_seq=true from the GET /db/doc API for CouchDB 2.0

2015-02-03 Thread j ermouth (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-2537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303728#comment-14303728 ] j ermouth commented on COUCHDB-2537: They conform – specs do not in any way