Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo is down - 502 Bad Gateway error #38

Closed
gcaplan opened this issue Jan 13, 2022 · 3 comments
Closed

Repo is down - 502 Bad Gateway error #38

gcaplan opened this issue Jan 13, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@gcaplan
Copy link

gcaplan commented Jan 13, 2022

Running ObjectBoxInstallScript.ps1 on Windows 10 Pro is failing.

Attempting to access https://dl.bintray.com/objectbox/conan/objectbox/objectbox-c returns a 502 Bad Gateway error.

Looks like a great project and I'm keen to get ObjectBox up and running for an urgent evaluation. Please advise on how I can get my hands on the .dll as I can't spot it on the open web.

While I'm in contact, my requirement is to select a subset of objects sorted by integer key from a set of some millions in a flat table.

It's not clear from a quick scan of the docs how ObjectBox handles sorting internally.

SQLite has a sorted index, and I'm getting reasonable results.

To be sure it's worth the effort of setting up a test, is there a reasonable chance that ObjectBox would give me equal or better performance on these large sorted selects? The insertions will not be made in index sequence.

All being equal, I'd prefer ObjectBox to SQLite because of the faster ingestion provided the select queries would at least match the SQLite performance.

Downloading C-API v0.13.0 into download\objectbox-0.13.0.tgz
C:\Users\user\Downloads\ObjectBoxInstallScript.ps1 : System.Management.Automation.MethodInvocationException: Exception
calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (502) Bad Gateway." --->
System.Net.WebException: The remote server returned an error: (502) Bad Gateway.
   at System.Net.WebClient.DownloadFile(Uri address, String fileName)
   at CallSite.Target(Closure , CallSite , Object , Object , Object )
   --- End of inner exception stack trace ---
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception
exception)
   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
At line:1 char:91
+ ... cess Bypass }; & 'C:\Users\user\Downloads\ObjectBoxInstallScript.ps1'
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,ObjectBoxInstallScript.ps1
@gcaplan gcaplan added the bug Something isn't working label Jan 13, 2022
@greenrobot-team
Copy link
Member

greenrobot-team commented Jan 17, 2022

Thanks for reporting. But where is this ObjectBoxInstallScript.ps1 script from?

The Powershell install script from this repo appears to download from the correct URL. See also https://golang.objectbox.io/install#windows Edit: the script linked from the docs page was outdated.

As for selecting/querying see https://golang.objectbox.io/queries

At the cost of storage a query on a specific property can be sped up by indexing it.

@greenrobot-team greenrobot-team added documentation Improvements or additions to documentation and removed bug Something isn't working labels Jan 17, 2022
@gcaplan
Copy link
Author

gcaplan commented Jan 17, 2022 via email

@gcaplan
Copy link
Author

gcaplan commented Jan 17, 2022 via email

@gcaplan gcaplan closed this as completed Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants